$pdflatex = "xelatex -synctex=-1 %O %S";
$pdf_mode = 1;
$preview_mode = 1;
$postscript_mode = $dvi_mode = 0;
$pdf_previewer = 'start sumatrapdf %O %S';